﻿<%@ page language="java" contentType="text/html; charset=UTF-8"   pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="apple-itunes-app" content="app-id=591578609">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width"/>
<meta name="description" content="筑学堂网校" />
<meta name="keywords" content="筑学堂网校、建筑、考试"/>
<link rel="stylesheet" type="text/css" href="${csspath}/style/video.css">
<!--[if IE 7]>
<link rel="stylesheet" href="/css/font-awesome/css/font-awesome-ie7.min.css">
<![endif]-->

<script type="text/javascript" src="${csspath}/js/video.js"></script>

<script type="text/javascript" src="${jspath}/js/base.js"></script>
<script type="text/javascript" src="${jspath}/js/jquery-1.7.0.min.js"></script>

<title>筑学堂家园个人空间</title>
</head>
<body style="align:center; padding:0;margin:0;clear:both; background-color:FFF;">
	<div class="video_bodyrbdoy" style="width:400px;">
	<form  id="videoForm" name="videoForm"  method="post" action="">
		<div id="content01" class="video_bodyrcontent" style="display:block">
		  <c:forEach items="${pageList.data}" var="ctgObject">
			<div class="video_bodyrcontentlist"     >
				<div class="video_bodyrcontentlist01"> 课时${ctgObject.seq} </div>
				<div class="video_bodyrcontentlist02"> </div>
				
				
				
				<c:choose>  
				   <c:when test="${ispublic}">
						<a href="/student/curriculum/pinitVideo/${ctgObject.courseId}/${ctgObject.id}/${ctgObject.categorySourceid}" target="_blank"> 
				   </c:when>  
				   <c:otherwise>
				   		<a href="/student/curriculum/initVideo/${ctgObject.courseId}/${ctgObject.id}/${ctgObject.categorySourceid}" target="_blank"> 
				   </c:otherwise>  
				</c:choose>
				
				
				
					<c:if test="${ ctgObject.id != currctgId}">
						<div class="video_bodyrcontentlist03"      >${ctgObject.categoryName}</div>
					</c:if>
					<!-- 选中当前的 课件 -->
					
					<c:if test="${ ctgObject.id == currctgId }">
						<div class="video_bodyrcontentlist03_current"      >${ctgObject.categoryName}</div>
					</c:if>
					 
				</a>
			</div>
			
			<c:forEach items="${ctgObject.homeworkVo}" var="homeworkVo">
				<div class="video_bodyrcontentlist">
					<div class="video_bodyrcontentlist01">  </div>
					<div class="video_bodyrcontentlist04"> </div>
					<a href="/student/curriculum/initHomework/${ homeworkVo.id}" target="_blank">
					  <div class="video_bodyrcontentlist03">${ homeworkVo.homeworkName}</div>
					</a>
				</div>
			</c:forEach>
			
			<c:forEach items="${ctgObject.examVo}" var="examVo">
				<div class="video_bodyrcontentlist">
					<div class="video_bodyrcontentlist01">  </div>
					<div class="video_bodyrcontentlist05">  </div>
					<a href="/student/exam/${ examVo.id}" target="_blank">
					  <div class="video_bodyrcontentlist03">${ examVo.examName}</div>
					</a>
				</div>
			</c:forEach>
		  </c:forEach>
		</div>
			
		<div id="content02" class="video_bodyrcontent"> 资料 </div>
		<div id="content03" class="video_bodyrcontent"> 笔记 </div>
		<div id="content04" class="video_bodyrcontent"> 答疑 </div>
		
		</form>
	</div>


</body>
</html>